home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / convrtrs / pbmplus / pbmdocs.lzh / ppm / ppmtoxpm.man < prev    next >
Encoding:
Text File  |  1991-10-20  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppmtoxpm(1)           AMIGA (26 June 1990)            ppmtoxpm(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           ppmtoxpm - convert a portable pixmap into an X11 pixmap
  10.  
  11.      SYNOPSIS
  12.           ppmtoxpm [-name xpmname] [ppmfile]
  13.  
  14.      DESCRIPTION
  15.           Reads a portable pixmap as input.  Produces X11 pixmap (XPM)
  16.           as output.
  17.  
  18.           If the program was compiled with an rgb database specified,
  19.           and a RGB value from the ppm input matches a RGB value from
  20.           the database, then the corresponding color name mnemonic is
  21.           printed in the XPM's colormap.  If no rgb database was
  22.           compiled in, or if the RGB values don't match, then the
  23.           color will be printed with the #RGB, #RRGGBB, #RRRGGGBBB, or
  24.           #RRRRGGGGBBBB hexadecimal format.
  25.  
  26.      OPTIONS
  27.           -name
  28.                Allows you to specify the prefix string which is
  29.                printed in the resulting XPM output.  If not specified,
  30.                will default to the filename (without extension) of the
  31.                ppmfile argument.  If -name is not specified and no
  32.                ppmfile is specified (i.e. piped input), the prefix
  33.                string will default to the string "noname".
  34.  
  35.           All flags can be abbreviated to their shortest unique
  36.           prefix.
  37.  
  38.      EXAMPLE
  39.           To convert the file "dot" (found in
  40.           /usr/include/X11/bitmaps), from xbm to xpm one could specify
  41.  
  42.                xbmtopbm dot | ppmtoxpm -name dot
  43.  
  44.      BUGS
  45.           An option to match the closest (rather than exact) color
  46.           name mnemonic from the rgb text would be a desirable
  47.           enhancement.
  48.  
  49.           Truncation of the least significant bits of a RGB value may
  50.           result in nonexact matches when performing color name
  51.           mnemonic lookups.
  52.  
  53.      SEE ALSO
  54.           xpmtoppm(1), ppm(5)
  55.  
  56.      AUTHOR
  57.           Copyright (C) 1990 by Mark W. Snitily.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.